package com.corpgovernment.travelstandard.entity.db;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Table;

@Alias("mbTravelstandCarDatetime")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "mb_travelstand_car_datetime")
public class MbTravelstandCarDatetime extends BaseEntity {

    /**
     * 差标id
     **/
    @OperateLogFieldDesc(value = "差标id")
    @Column(name = "ts_id")
    private Long tsid;

    /**
     * 是否工作日
     **/
    @OperateLogFieldDesc(value = "是否工作日")
    @Column(name = "is_work")
    private Integer isWork;


    /**
     * 开始时间
     **/
    @OperateLogFieldDesc(value = "开始时间")
    @Column(name = "start_time")
    private String startTime;

    /**
     * 结束时间
     **/
    @OperateLogFieldDesc(value = "结束时间")
    @Column(name = "end_time")
    private String endTime;

    /**
     * 是否下一天
     **/
    @OperateLogFieldDesc(value = "是否下一天")
    @Column(name = "is_next_day")
    private Integer isNextDay;

    /**
     * 状态
     **/
    @OperateLogFieldDesc(value = "状态")
    @Column(name = "status")
    private Boolean status;
}
